<%-- 
    Document   : addDesignation
    Created on : Sep 13, 2013, 7:03:54 PM
    Author     : santosh
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../common/script.jsp" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <%@include file="../common/title.jsp" %>
    </head>
    <body onLoad="yav.init('form1',rules,'inline');">
        <%@include file="../common/header.jsp" %>
        <%@include file="../common/menu.jsp" %>
        <div class="in_02">
            <%@include file="../common/message.jsp" %>
            <form:form id="form1" name="form1" modelAttribute="designation"  method="POST" >
                <fieldset>
                    <legend><spring:message code="title.addDesignation"/></legend>
                    <table class="formTable">
                        <tr>
                            <td>
                                <spring:message code="designationName"/>:
                            </td>
                            <td>
                                <form:input path="designationName"  cssClass="userInputLarge"/><br/>
                            </td>

                        </tr>
                        <tr>
                            <td><input type="button" name="btnCancel" value="<spring:message code="button.Cancel"/>" onclick="location.href='../designation/listDesignation.htm'" /></td>   
                            <td><input type="submit" name="btnSubmit" value="<spring:message code="button.Add"/>" onclick="return yav.performCheck('form1', rules, 'inline');"/></td>
                        </tr>
                    </table>
                </fieldset>
                <spring:hasBindErrors name="designation">  
                    <div class="error" >
                        <form:errors path="*"/>
                    </div>
                </spring:hasBindErrors>
            </form:form>
        </div>
    </body>
</html>
